home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Chris < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.3 KB  |  71 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A shiny green glass ball ornament',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 85, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (0,160,0), 
  20.                 'Direction': (0.85735,-0.30265,-0.416358), 
  21.                 'HighlightSize': 33
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (0,160,0), 
  25.                 'Direction': (-0.672493,-0.318387,0.668118), 
  26.                 'HighlightSize': 17
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (0,160,0), 
  30.                 'Direction': (0.338698,0.690706,0.638912), 
  31.                 'HighlightSize': 19
  32.                 },{
  33.                 'BubbleLight': App.Constants.Boolean.false, 
  34.                 'Color': (0,250,0), 
  35.                 'Direction': (-0.58265,-0.58265,-0.566603), 
  36.                 'HighlightSize': 22
  37.                 }]
  38.             }, 
  39.         'Mode': App.Constants.CountType.Single, 
  40.         'Multiple': {
  41.             
  42.             }, 
  43.         'Single': {
  44.             'MaxPossibleSize': App.Constants.Boolean.true
  45.             }, 
  46.         'Surface': {
  47.             'Material': {
  48.                 'Color': (0,128,0), 
  49.                 'Pattern': None, 
  50.                 'Gradient': None, 
  51.                 'Texture': None
  52.                 }, 
  53.             'BumpMap': {
  54.                 'Active': App.Constants.Boolean.false
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.true, 
  58.                 'FileName': 'Christmas ball', 
  59.                 'PatternOpacity': 65, 
  60.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  61.                 }, 
  62.             'Gloss': 39, 
  63.             'Opacity': 100, 
  64.             'Shininess': 73
  65.             }
  66.         }
  67.  
  68. def Do(Environment):
  69.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  70.  
  71.